package com.hare.common.global.constant;

/**
 * @program: Hare
 * @description: 常量基类
 * @author: Hare
 * @create: 2022-06-24 17:57
 * @Version 6.0.1
 **/
public class BaseConstant {

    /**
     * 用户
     */
    public static final String USER_NAME = "userName";
    public static final String USER_ID = "userId";
    public static final String ADMIN = "9bcfceac5b8311ed9feb525400cfb560";
    public static final String ADMIN_ROLE = "68f7d27c5b8311ed81ea525400cfb560";
    public static final String PASS_WORD = "123456";

    /**
     * token
     */
    public static final String PREFIX_TOKEN = "login_token:";
    public static final String AUTHORIZATION = "Authorization";
    public static final String BEARER = "Bearer-";
    public static final String TOKEN_STR = "token";


    /**
     * 数字
     */
    public final static int NUMBER_ZERO = 0;
    public final static int NUMBER_ONE = 1;
    public final static int NUMBER_TWO = 2;
    public final static int NUMBER_THREE = 3;
    public final static int NUMBER_FOUR = 4;
    public final static int NUMBER_FIVE = 5;


    /**
     * 菜单类型（目录）
     */
    public static final String TYPE_DIR = "C";
    /**
     * 菜单类型（菜单）
     */
    public static final String TYPE_MENU = "A";
    /**
     * 菜单类型（按钮）
     */
    public static final String TYPE_BUTTON = "B";
    /**
     * Layout组件标识
     */
    public final static String LAYOUT = "Layout";


    public static final Boolean SUCCESS_BON = true;
    public static final Boolean ERROR_BON = false;
}
